#ifndef __SIM_USB_H
#define __SIM_USB_H

#include "apm32f10x_usb.h"
#include "apm32f10x_gpio.h"
#include "apm32f10x_eint.h"
#include "descriptor.h"
#include "sys.h" 
#include "usb.h"

#define USB_BUFF_LEN 512

extern u8 USB_RECV_BUFF[USB_BUFF_LEN];
extern u8 USB_RECV_STA;

void USB_SIM_init();
void Usb_Send(u8* buff,u8 size);
void Usb_clear_Buff(void);


#endif